.class public Lcom/waiqin365/compons/b/b;
.super Ljava/lang/Object;


# static fields
.field private static b:Lcom/waiqin365/compons/b/b;


# instance fields
.field public a:Z

.field private c:Landroid/content/Context;

.field private d:Lcom/waiqin365/compons/view/a;

.field private e:Ljava/lang/String;

.field private f:Lcom/waiqin365/compons/view/c;

.field private g:Lcom/waiqin365/compons/view/e;

.field private h:Landroid/os/Handler;

.field private i:Ljava/util/Timer;

.field private j:Ljava/util/TimerTask;

.field private k:I

.field private l:I

.field private m:Landroid/os/Handler;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    const/4 v0, 0x0

    sput-object v0, Lcom/waiqin365/compons/b/b;->b:Lcom/waiqin365/compons/b/b;

    return-void
.end method

.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/waiqin365/compons/b/b;->a:Z

    new-instance v0, Lcom/waiqin365/compons/b/h;

    invoke-direct {v0, p0}, Lcom/waiqin365/compons/b/h;-><init>(Lcom/waiqin365/compons/b/b;)V

    iput-object v0, p0, Lcom/waiqin365/compons/b/b;->m:Landroid/os/Handler;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/compons/b/b;I)I
    .locals 0

    iput p1, p0, Lcom/waiqin365/compons/b/b;->l:I

    return p1
.end method

.method public static a()Lcom/waiqin365/compons/b/b;
    .locals 1

    sget-object v0, Lcom/waiqin365/compons/b/b;->b:Lcom/waiqin365/compons/b/b;

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/compons/b/b;

    invoke-direct {v0}, Lcom/waiqin365/compons/b/b;-><init>()V

    sput-object v0, Lcom/waiqin365/compons/b/b;->b:Lcom/waiqin365/compons/b/b;

    :cond_0
    sget-object v0, Lcom/waiqin365/compons/b/b;->b:Lcom/waiqin365/compons/b/b;

    return-object v0
.end method

.method static synthetic a(Lcom/waiqin365/compons/b/b;Lcom/waiqin365/compons/view/a;)Lcom/waiqin365/compons/view/a;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/compons/b/b;->d:Lcom/waiqin365/compons/view/a;

    return-object p1
.end method

.method static synthetic a(Lcom/waiqin365/compons/b/b;)Lcom/waiqin365/compons/view/c;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/compons/b/b;->f:Lcom/waiqin365/compons/view/c;

    return-object v0
.end method

.method static synthetic a(Lcom/waiqin365/compons/b/b;Lcom/waiqin365/compons/view/c;)Lcom/waiqin365/compons/view/c;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/compons/b/b;->f:Lcom/waiqin365/compons/view/c;

    return-object p1
.end method

.method static synthetic a(Lcom/waiqin365/compons/b/b;Lcom/waiqin365/base/login/c/h;I)V
    .locals 0

    invoke-direct {p0, p1, p2}, Lcom/waiqin365/compons/b/b;->b(Lcom/waiqin365/base/login/c/h;I)V

    return-void
.end method

.method private a(Ljava/lang/String;)V
    .locals 1

    new-instance v0, Ljava/io/File;

    invoke-direct {v0, p1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/io/File;->exists()Z

    move-result v0

    if-nez v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/compons/b/b;->c:Landroid/content/Context;

    invoke-static {v0, p1}, Lcom/waiqin365/base/login/d/g;->b(Landroid/content/Context;Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/compons/b/b;->c:Landroid/content/Context;

    instance-of v0, v0, Lcom/waiqin365/base/login/fragment/activity/AboutMeActivity;

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/compons/b/b;->c:Landroid/content/Context;

    instance-of v0, v0, Lcom/waiqin365/base/login/LoginMainActivity;

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/compons/b/b;->c:Landroid/content/Context;

    check-cast v0, Landroid/app/Activity;

    invoke-virtual {v0}, Landroid/app/Activity;->finish()V

    invoke-static {}, Landroid/os/Process;->myPid()I

    move-result v0

    invoke-static {v0}, Landroid/os/Process;->killProcess(I)V

    const/4 v0, 0x0

    invoke-static {v0}, Ljava/lang/System;->exit(I)V

    goto :goto_0
.end method

.method static synthetic b(Lcom/waiqin365/compons/b/b;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/compons/b/b;->c:Landroid/content/Context;

    return-object v0
.end method

.method private b()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/compons/b/b;->j:Ljava/util/TimerTask;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/compons/b/b;->j:Ljava/util/TimerTask;

    invoke-virtual {v0}, Ljava/util/TimerTask;->cancel()Z

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/compons/b/b;->i:Ljava/util/Timer;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/compons/b/b;->i:Ljava/util/Timer;

    invoke-virtual {v0}, Ljava/util/Timer;->cancel()V

    :cond_1
    return-void
.end method

.method private b(Lcom/waiqin365/base/login/c/h;I)V
    .locals 6

    const-string/jumbo v0, ""

    iget-boolean v0, p0, Lcom/waiqin365/compons/b/b;->a:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/compons/b/b;->c:Landroid/content/Context;

    const v1, 0x7f0806b2

    invoke-virtual {v0, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v3

    :goto_0
    new-instance v0, Lcom/waiqin365/compons/view/c;

    iget-object v1, p0, Lcom/waiqin365/compons/b/b;->c:Landroid/content/Context;

    iget-object v2, p0, Lcom/waiqin365/compons/b/b;->c:Landroid/content/Context;

    const v4, 0x7f0806b1

    invoke-virtual {v2, v4}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    sget v4, Lcom/waiqin365/compons/view/c;->c:I

    new-instance v5, Lcom/waiqin365/compons/b/l;

    invoke-direct {v5, p0, p1, p2}, Lcom/waiqin365/compons/b/l;-><init>(Lcom/waiqin365/compons/b/b;Lcom/waiqin365/base/login/c/h;I)V

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/compons/b/b;->f:Lcom/waiqin365/compons/view/c;

    iget-object v0, p0, Lcom/waiqin365/compons/b/b;->f:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/compons/b/b;->c:Landroid/content/Context;

    const v1, 0x7f0806b3

    invoke-virtual {v0, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v3

    goto :goto_0
.end method

.method static synthetic c(Lcom/waiqin365/compons/b/b;)Landroid/os/Handler;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/compons/b/b;->h:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic d(Lcom/waiqin365/compons/b/b;)Lcom/waiqin365/compons/view/e;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/compons/b/b;->g:Lcom/waiqin365/compons/view/e;

    return-object v0
.end method

.method static synthetic e(Lcom/waiqin365/compons/b/b;)Lcom/waiqin365/compons/view/a;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/compons/b/b;->d:Lcom/waiqin365/compons/view/a;

    return-object v0
.end method

.method static synthetic f(Lcom/waiqin365/compons/b/b;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/compons/b/b;->l:I

    return v0
.end method

.method static synthetic g(Lcom/waiqin365/compons/b/b;)Landroid/os/Handler;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/compons/b/b;->m:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic h(Lcom/waiqin365/compons/b/b;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/compons/b/b;->k:I

    return v0
.end method

.method static synthetic i(Lcom/waiqin365/compons/b/b;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/compons/b/b;->b()V

    return-void
.end method


# virtual methods
.method public a(Lcom/waiqin365/base/login/c/h;I)V
    .locals 12

    const-string/jumbo v0, ""

    const-string/jumbo v0, ""

    const/4 v1, 0x0

    const/4 v4, 0x0

    const/4 v0, 0x1

    if-eq p2, v0, :cond_0

    const/4 v0, 0x3

    if-ne p2, v0, :cond_7

    :cond_0
    iget-object v0, p1, Lcom/waiqin365/base/login/c/h;->b:Ljava/lang/String;

    :goto_0
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v3, p0, Lcom/waiqin365/compons/b/b;->e:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/k;->c(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, ".zip"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v8

    new-instance v5, Ljava/util/HashMap;

    invoke-direct {v5}, Ljava/util/HashMap;-><init>()V

    new-instance v9, Ljava/io/File;

    invoke-direct {v9, v8}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v9}, Ljava/io/File;->exists()Z

    move-result v2

    if-eqz v2, :cond_1

    invoke-virtual {v9}, Ljava/io/File;->length()J

    move-result-wide v2

    long-to-int v1, v2

    new-instance v2, Ljava/lang/StringBuffer;

    invoke-direct {v2}, Ljava/lang/StringBuffer;-><init>()V

    const-string/jumbo v3, "bytes="

    invoke-virtual {v2, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    invoke-virtual {v2, v1}, Ljava/lang/StringBuffer;->append(I)Ljava/lang/StringBuffer;

    move-result-object v3

    const/16 v6, 0x2d

    invoke-virtual {v3, v6}, Ljava/lang/StringBuffer;->append(C)Ljava/lang/StringBuffer;

    const-string/jumbo v3, "Range"

    invoke-virtual {v2}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v5, v3, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_1
    const/4 v3, 0x0

    const/4 v2, 0x0

    :try_start_0
    invoke-static {v0, v5}, Lcom/waiqin365/compons/b/a;->b(Ljava/lang/String;Ljava/util/HashMap;)Lokhttp3/Response;

    move-result-object v5

    invoke-virtual {v5}, Lokhttp3/Response;->code()I

    move-result v6

    const/16 v0, 0xc8

    if-eq v6, v0, :cond_2

    const/16 v0, 0xce

    if-eq v6, v0, :cond_2

    const/16 v0, 0x1a0

    if-ne v6, v0, :cond_25

    :cond_2
    if-nez v1, :cond_8

    invoke-virtual {v5}, Lokhttp3/Response;->body()Lokhttp3/ResponseBody;

    move-result-object v0

    invoke-virtual {v0}, Lokhttp3/ResponseBody;->contentLength()J

    move-result-wide v10

    long-to-int v0, v10

    :goto_1
    const/16 v4, 0x1a0

    if-ne v6, v4, :cond_f

    if-ne v1, v0, :cond_c

    const/4 v0, 0x1

    if-ne p2, v0, :cond_9

    new-instance v0, Landroid/os/Message;

    invoke-direct {v0}, Landroid/os/Message;-><init>()V

    const/16 v1, 0x2711

    iput v1, v0, Landroid/os/Message;->what:I

    const/16 v1, 0x64

    iput v1, v0, Landroid/os/Message;->arg1:I

    iget-object v1, p0, Lcom/waiqin365/compons/b/b;->m:Landroid/os/Handler;

    invoke-virtual {v1, v0}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_e
    .catchall {:try_start_0 .. :try_end_0} :catchall_2

    move-object v6, v2

    move-object v7, v3

    :goto_2
    const/4 v0, 0x1

    if-eq p2, v0, :cond_3

    const/4 v0, 0x3

    if-ne p2, v0, :cond_19

    :cond_3
    :try_start_1
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->b()Lcom/fiberhome/gaea/client/c/b;

    move-result-object v1

    invoke-virtual {v1}, Lcom/fiberhome/gaea/client/c/b;->f()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "ExMobi.apk"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/io/File;

    invoke-direct {v1, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1}, Ljava/io/File;->exists()Z

    move-result v2

    if-eqz v2, :cond_4

    invoke-virtual {v1}, Ljava/io/File;->delete()Z

    :cond_4
    invoke-virtual {v9, v1}, Ljava/io/File;->renameTo(Ljava/io/File;)Z

    move-result v1

    if-eqz v1, :cond_18

    new-instance v1, Ljava/io/File;

    iget-object v2, p0, Lcom/waiqin365/compons/b/b;->e:Ljava/lang/String;

    invoke-direct {v1, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-static {v1}, Lcom/fiberhome/gaea/client/d/c;->a(Ljava/io/File;)V

    invoke-direct {p0, v0}, Lcom/waiqin365/compons/b/b;->a(Ljava/lang/String;)V

    :goto_3
    iget-object v0, p0, Lcom/waiqin365/compons/b/b;->d:Lcom/waiqin365/compons/view/a;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/a;->dismiss()V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_3
    .catchall {:try_start_1 .. :try_end_1} :catchall_1

    :goto_4
    if-eqz v6, :cond_5

    :try_start_2
    invoke-virtual {v6}, Ljava/io/FileOutputStream;->close()V
    :try_end_2
    .catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_9

    :cond_5
    :goto_5
    if-eqz v7, :cond_6

    :try_start_3
    invoke-virtual {v7}, Ljava/io/InputStream;->close()V
    :try_end_3
    .catch Ljava/io/IOException; {:try_start_3 .. :try_end_3} :catch_a

    :cond_6
    :goto_6
    return-void

    :cond_7
    iget-object v0, p1, Lcom/waiqin365/base/login/c/h;->f:Ljava/lang/String;

    goto/16 :goto_0

    :cond_8
    :try_start_4
    const-string/jumbo v0, "Content-Range"

    invoke-virtual {v5, v0}, Lokhttp3/Response;->header(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_27

    const-string/jumbo v7, "/"

    invoke-virtual {v0, v7}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v7

    if-eqz v7, :cond_27

    const-string/jumbo v4, "/"

    invoke-virtual {v0, v4}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;)I

    move-result v4

    add-int/lit8 v4, v4, 0x1

    invoke-virtual {v0, v4}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v0

    goto/16 :goto_1

    :cond_9
    const/4 v0, 0x4

    if-ne p2, v0, :cond_a

    new-instance v0, Landroid/os/Message;

    invoke-direct {v0}, Landroid/os/Message;-><init>()V

    const/16 v1, 0x2711

    iput v1, v0, Landroid/os/Message;->what:I

    const/16 v1, 0x5a

    iput v1, v0, Landroid/os/Message;->arg1:I

    iget-object v1, p0, Lcom/waiqin365/compons/b/b;->m:Landroid/os/Handler;

    invoke-virtual {v1, v0}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    move-object v6, v2

    move-object v7, v3

    goto/16 :goto_2

    :cond_a
    const/4 v0, 0x2

    if-ne p2, v0, :cond_b

    new-instance v0, Landroid/os/Message;

    invoke-direct {v0}, Landroid/os/Message;-><init>()V

    const/16 v1, 0x2711

    iput v1, v0, Landroid/os/Message;->what:I

    const/16 v1, 0x32

    iput v1, v0, Landroid/os/Message;->arg1:I

    iget-object v1, p0, Lcom/waiqin365/compons/b/b;->m:Landroid/os/Handler;

    invoke-virtual {v1, v0}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    move-object v6, v2

    move-object v7, v3

    goto/16 :goto_2

    :cond_b
    const/4 v0, 0x3

    if-ne p2, v0, :cond_26

    new-instance v0, Landroid/os/Message;

    invoke-direct {v0}, Landroid/os/Message;-><init>()V

    const/16 v1, 0x2711

    iput v1, v0, Landroid/os/Message;->what:I

    const/16 v1, 0x64

    iput v1, v0, Landroid/os/Message;->arg1:I

    iget-object v1, p0, Lcom/waiqin365/compons/b/b;->m:Landroid/os/Handler;

    invoke-virtual {v1, v0}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    move-object v6, v2

    move-object v7, v3

    goto/16 :goto_2

    :cond_c
    invoke-virtual {v9}, Ljava/io/File;->delete()Z

    move-result v0

    if-nez v0, :cond_d

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v1, "\u6587\u4ef6\u8d85\u51fa\u8303\u56f4\u5220\u9664\u5931\u8d25\uff0cdownpath="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/d;->a(Ljava/lang/String;)V

    :cond_d
    invoke-virtual {p0, p1, p2}, Lcom/waiqin365/compons/b/b;->a(Lcom/waiqin365/base/login/c/h;I)V
    :try_end_4
    .catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_e
    .catchall {:try_start_4 .. :try_end_4} :catchall_2

    if-eqz v2, :cond_e

    :try_start_5
    invoke-virtual {v2}, Ljava/io/FileOutputStream;->close()V
    :try_end_5
    .catch Ljava/io/IOException; {:try_start_5 .. :try_end_5} :catch_6

    :cond_e
    :goto_7
    if-eqz v3, :cond_6

    :try_start_6
    invoke-virtual {v3}, Ljava/io/InputStream;->close()V
    :try_end_6
    .catch Ljava/io/IOException; {:try_start_6 .. :try_end_6} :catch_0

    goto/16 :goto_6

    :catch_0
    move-exception v0

    goto/16 :goto_6

    :cond_f
    :try_start_7
    invoke-virtual {v5}, Lokhttp3/Response;->body()Lokhttp3/ResponseBody;

    move-result-object v4

    invoke-virtual {v4}, Lokhttp3/ResponseBody;->byteStream()Ljava/io/InputStream;
    :try_end_7
    .catch Ljava/lang/Exception; {:try_start_7 .. :try_end_7} :catch_e
    .catchall {:try_start_7 .. :try_end_7} :catchall_2

    move-result-object v4

    :try_start_8
    new-instance v3, Ljava/io/FileOutputStream;

    const/4 v5, 0x1

    invoke-direct {v3, v9, v5}, Ljava/io/FileOutputStream;-><init>(Ljava/io/File;Z)V
    :try_end_8
    .catch Ljava/lang/Exception; {:try_start_8 .. :try_end_8} :catch_f
    .catchall {:try_start_8 .. :try_end_8} :catchall_3

    const/16 v2, 0x1000

    :try_start_9
    new-array v2, v2, [B

    :cond_10
    :goto_8
    invoke-virtual {v4, v2}, Ljava/io/InputStream;->read([B)I

    move-result v5

    const/4 v6, -0x1

    if-eq v5, v6, :cond_17

    const/4 v6, 0x0

    invoke-virtual {v3, v2, v6, v5}, Ljava/io/FileOutputStream;->write([BII)V

    add-int/2addr v1, v5

    const/4 v5, 0x1

    if-ne p2, v5, :cond_12

    new-instance v5, Landroid/os/Message;

    invoke-direct {v5}, Landroid/os/Message;-><init>()V

    const/16 v6, 0x2711

    iput v6, v5, Landroid/os/Message;->what:I

    mul-int/lit8 v6, v1, 0x64

    div-int/2addr v6, v0

    iput v6, v5, Landroid/os/Message;->arg1:I

    iget-object v6, p0, Lcom/waiqin365/compons/b/b;->m:Landroid/os/Handler;

    invoke-virtual {v6, v5}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z
    :try_end_9
    .catch Ljava/lang/Exception; {:try_start_9 .. :try_end_9} :catch_1
    .catchall {:try_start_9 .. :try_end_9} :catchall_0

    goto :goto_8

    :catch_1
    move-exception v0

    move-object v1, v3

    move-object v2, v4

    :goto_9
    :try_start_a
    new-instance v3, Ljava/io/StringWriter;

    invoke-direct {v3}, Ljava/io/StringWriter;-><init>()V

    new-instance v4, Ljava/io/PrintWriter;

    invoke-direct {v4, v3}, Ljava/io/PrintWriter;-><init>(Ljava/io/Writer;)V

    invoke-virtual {v0, v4}, Ljava/lang/Exception;->printStackTrace(Ljava/io/PrintWriter;)V

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v4, "get\u8bf7\u6c42\u5347\u7ea7\u5f02\u5e38\uff0c\u539f\u56e0="

    invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v3}, Ljava/io/StringWriter;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/d;->a(Ljava/lang/String;)V

    new-instance v0, Landroid/os/Message;

    invoke-direct {v0}, Landroid/os/Message;-><init>()V

    const/16 v3, 0x2712

    iput v3, v0, Landroid/os/Message;->what:I

    iput p2, v0, Landroid/os/Message;->arg1:I

    iput-object p1, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    iget-object v3, p0, Lcom/waiqin365/compons/b/b;->m:Landroid/os/Handler;

    invoke-virtual {v3, v0}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z
    :try_end_a
    .catchall {:try_start_a .. :try_end_a} :catchall_4

    if-eqz v1, :cond_11

    :try_start_b
    invoke-virtual {v1}, Ljava/io/FileOutputStream;->close()V
    :try_end_b
    .catch Ljava/io/IOException; {:try_start_b .. :try_end_b} :catch_b

    :cond_11
    :goto_a
    if-eqz v2, :cond_6

    :try_start_c
    invoke-virtual {v2}, Ljava/io/InputStream;->close()V
    :try_end_c
    .catch Ljava/io/IOException; {:try_start_c .. :try_end_c} :catch_2

    goto/16 :goto_6

    :catch_2
    move-exception v0

    goto/16 :goto_6

    :cond_12
    const/4 v5, 0x4

    if-ne p2, v5, :cond_15

    :try_start_d
    new-instance v5, Landroid/os/Message;

    invoke-direct {v5}, Landroid/os/Message;-><init>()V

    const/16 v6, 0x2711

    iput v6, v5, Landroid/os/Message;->what:I

    mul-int/lit8 v6, v1, 0x5a

    div-int/2addr v6, v0

    iput v6, v5, Landroid/os/Message;->arg1:I

    iget-object v6, p0, Lcom/waiqin365/compons/b/b;->m:Landroid/os/Handler;

    invoke-virtual {v6, v5}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z
    :try_end_d
    .catch Ljava/lang/Exception; {:try_start_d .. :try_end_d} :catch_1
    .catchall {:try_start_d .. :try_end_d} :catchall_0

    goto/16 :goto_8

    :catchall_0
    move-exception v0

    move-object v6, v3

    move-object v7, v4

    :goto_b
    if-eqz v6, :cond_13

    :try_start_e
    invoke-virtual {v6}, Ljava/io/FileOutputStream;->close()V
    :try_end_e
    .catch Ljava/io/IOException; {:try_start_e .. :try_end_e} :catch_c

    :cond_13
    :goto_c
    if-eqz v7, :cond_14

    :try_start_f
    invoke-virtual {v7}, Ljava/io/InputStream;->close()V
    :try_end_f
    .catch Ljava/io/IOException; {:try_start_f .. :try_end_f} :catch_d

    :cond_14
    :goto_d
    throw v0

    :cond_15
    const/4 v5, 0x2

    if-ne p2, v5, :cond_16

    :try_start_10
    new-instance v5, Landroid/os/Message;

    invoke-direct {v5}, Landroid/os/Message;-><init>()V

    const/16 v6, 0x2711

    iput v6, v5, Landroid/os/Message;->what:I

    mul-int/lit8 v6, v1, 0x32

    div-int/2addr v6, v0

    iput v6, v5, Landroid/os/Message;->arg1:I

    iget-object v6, p0, Lcom/waiqin365/compons/b/b;->m:Landroid/os/Handler;

    invoke-virtual {v6, v5}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    goto/16 :goto_8

    :cond_16
    const/4 v5, 0x3

    if-ne p2, v5, :cond_10

    new-instance v5, Landroid/os/Message;

    invoke-direct {v5}, Landroid/os/Message;-><init>()V

    const/16 v6, 0x2711

    iput v6, v5, Landroid/os/Message;->what:I

    mul-int/lit8 v6, v1, 0x28

    div-int/2addr v6, v0

    add-int/lit8 v6, v6, 0x3c

    iput v6, v5, Landroid/os/Message;->arg1:I

    iget-object v6, p0, Lcom/waiqin365/compons/b/b;->m:Landroid/os/Handler;

    invoke-virtual {v6, v5}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    goto/16 :goto_8

    :cond_17
    invoke-virtual {v3}, Ljava/io/FileOutputStream;->close()V

    invoke-virtual {v4}, Ljava/io/InputStream;->close()V
    :try_end_10
    .catch Ljava/lang/Exception; {:try_start_10 .. :try_end_10} :catch_1
    .catchall {:try_start_10 .. :try_end_10} :catchall_0

    move-object v6, v3

    move-object v7, v4

    goto/16 :goto_2

    :cond_18
    :try_start_11
    invoke-static {v8, v0}, Lcom/fiberhome/gaea/client/d/c;->e(Ljava/lang/String;Ljava/lang/String;)V

    new-instance v1, Ljava/io/File;

    iget-object v2, p0, Lcom/waiqin365/compons/b/b;->e:Ljava/lang/String;

    invoke-direct {v1, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-static {v1}, Lcom/fiberhome/gaea/client/d/c;->a(Ljava/io/File;)V

    invoke-direct {p0, v0}, Lcom/waiqin365/compons/b/b;->a(Ljava/lang/String;)V

    goto/16 :goto_3

    :catch_3
    move-exception v0

    move-object v1, v6

    move-object v2, v7

    goto/16 :goto_9

    :cond_19
    const/4 v0, 0x4

    if-ne p2, v0, :cond_1d

    const/16 v0, 0x5a

    iput v0, p0, Lcom/waiqin365/compons/b/b;->k:I

    iget v0, p0, Lcom/waiqin365/compons/b/b;->k:I

    iput v0, p0, Lcom/waiqin365/compons/b/b;->l:I

    :goto_e
    iget-boolean v0, p1, Lcom/waiqin365/base/login/c/h;->g:Z

    if-eqz v0, :cond_1e

    const/16 v0, 0x5dc

    move v4, v0

    :goto_f
    new-instance v0, Ljava/util/Timer;

    invoke-direct {v0}, Ljava/util/Timer;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/compons/b/b;->i:Ljava/util/Timer;

    new-instance v0, Lcom/waiqin365/compons/b/k;

    invoke-direct {v0, p0}, Lcom/waiqin365/compons/b/k;-><init>(Lcom/waiqin365/compons/b/b;)V

    iput-object v0, p0, Lcom/waiqin365/compons/b/b;->j:Ljava/util/TimerTask;

    iget-object v0, p0, Lcom/waiqin365/compons/b/b;->i:Ljava/util/Timer;

    iget-object v1, p0, Lcom/waiqin365/compons/b/b;->j:Ljava/util/TimerTask;

    const-wide/16 v2, 0x0

    int-to-long v4, v4

    invoke-virtual/range {v0 .. v5}, Ljava/util/Timer;->schedule(Ljava/util/TimerTask;JJ)V

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->b()Lcom/fiberhome/gaea/client/c/b;

    move-result-object v1

    invoke-virtual {v1}, Lcom/fiberhome/gaea/client/c/b;->g()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "apps"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "/"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->b()Lcom/fiberhome/gaea/client/c/b;

    move-result-object v1

    iget-object v1, v1, Lcom/fiberhome/gaea/client/c/b;->e:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "/"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/io/File;

    invoke-direct {v1, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    iget-boolean v2, p1, Lcom/waiqin365/base/login/c/h;->g:Z

    if-nez v2, :cond_1a

    invoke-static {v1}, Lcom/fiberhome/gaea/client/d/c;->a(Ljava/io/File;)V

    :cond_1a
    invoke-static {v8, v0}, Lcom/fiberhome/gaea/client/d/c;->d(Ljava/lang/String;Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v9}, Ljava/io/File;->delete()Z

    move-result v2

    if-nez v2, :cond_1b

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v3, "\u4e0b\u8f7d\u6587\u4ef6\u5220\u9664\u5931\u8d25\uff0cdownpath="

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Lcom/fiberhome/gaea/client/d/d;->a(Ljava/lang/String;)V

    :cond_1b
    const-string/jumbo v2, "config.xml"

    invoke-virtual {v0, v2}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0}, Lcom/waiqin365/compons/b/b;->b()V

    if-gez v1, :cond_1f

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "\u4e0b\u8f7d\u6587\u4ef6\u89e3\u538b\u5931\u8d25\uff0cdownpath="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/fiberhome/gaea/client/d/d;->a(Ljava/lang/String;)V

    new-instance v1, Ljava/io/File;

    invoke-direct {v1, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1}, Ljava/io/File;->delete()Z

    iget-object v0, p0, Lcom/waiqin365/compons/b/b;->m:Landroid/os/Handler;

    const/16 v1, 0x2713

    invoke-virtual {v0, v1}, Landroid/os/Handler;->sendEmptyMessage(I)Z
    :try_end_11
    .catch Ljava/lang/Exception; {:try_start_11 .. :try_end_11} :catch_3
    .catchall {:try_start_11 .. :try_end_11} :catchall_1

    if-eqz v6, :cond_1c

    :try_start_12
    invoke-virtual {v6}, Ljava/io/FileOutputStream;->close()V
    :try_end_12
    .catch Ljava/io/IOException; {:try_start_12 .. :try_end_12} :catch_7

    :cond_1c
    :goto_10
    if-eqz v7, :cond_6

    :try_start_13
    invoke-virtual {v7}, Ljava/io/InputStream;->close()V
    :try_end_13
    .catch Ljava/io/IOException; {:try_start_13 .. :try_end_13} :catch_4

    goto/16 :goto_6

    :catch_4
    move-exception v0

    goto/16 :goto_6

    :cond_1d
    const/16 v0, 0x32

    :try_start_14
    iput v0, p0, Lcom/waiqin365/compons/b/b;->k:I

    iget v0, p0, Lcom/waiqin365/compons/b/b;->k:I

    iput v0, p0, Lcom/waiqin365/compons/b/b;->l:I

    goto/16 :goto_e

    :catchall_1
    move-exception v0

    goto/16 :goto_b

    :cond_1e
    const/16 v0, 0x3e8

    move v4, v0

    goto/16 :goto_f

    :cond_1f
    iget-boolean v1, p1, Lcom/waiqin365/base/login/c/h;->g:Z

    if-eqz v1, :cond_21

    invoke-static {v0}, Lcom/fiberhome/gaea/client/b/b/a;->a(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_21

    const-string/jumbo v1, "\u589e\u91cf\u5347\u7ea7\u914d\u7f6e\u6587\u4ef6\u66f4\u65b0\u5931\u8d25"

    invoke-static {v1}, Lcom/fiberhome/gaea/client/d/d;->a(Ljava/lang/String;)V

    new-instance v1, Ljava/io/File;

    invoke-direct {v1, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1}, Ljava/io/File;->delete()Z

    iget-object v0, p0, Lcom/waiqin365/compons/b/b;->m:Landroid/os/Handler;

    const/16 v1, 0x2714

    invoke-virtual {v0, v1}, Landroid/os/Handler;->sendEmptyMessage(I)Z
    :try_end_14
    .catch Ljava/lang/Exception; {:try_start_14 .. :try_end_14} :catch_3
    .catchall {:try_start_14 .. :try_end_14} :catchall_1

    if-eqz v6, :cond_20

    :try_start_15
    invoke-virtual {v6}, Ljava/io/FileOutputStream;->close()V
    :try_end_15
    .catch Ljava/io/IOException; {:try_start_15 .. :try_end_15} :catch_8

    :cond_20
    :goto_11
    if-eqz v7, :cond_6

    :try_start_16
    invoke-virtual {v7}, Ljava/io/InputStream;->close()V
    :try_end_16
    .catch Ljava/io/IOException; {:try_start_16 .. :try_end_16} :catch_5

    goto/16 :goto_6

    :catch_5
    move-exception v0

    goto/16 :goto_6

    :cond_21
    :try_start_17
    iget-object v1, p0, Lcom/waiqin365/compons/b/b;->c:Landroid/content/Context;

    invoke-static {v0, v1}, Lcom/fiberhome/gaea/client/c/a/b;->a(Ljava/lang/String;Landroid/content/Context;)Lcom/fiberhome/gaea/client/c/a/a;

    move-result-object v0

    if-eqz v0, :cond_22

    invoke-static {v0}, Lcom/fiberhome/gaea/client/b/b/a;->a(Lcom/fiberhome/gaea/client/c/a/a;)Lcom/fiberhome/gaea/client/b/b/b;

    move-result-object v2

    invoke-static {}, Lcom/fiberhome/gaea/client/a/a;->a()Lcom/fiberhome/gaea/client/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/fiberhome/gaea/client/a/a;->b()Ljava/util/ArrayList;

    move-result-object v3

    const/4 v0, 0x0

    move v1, v0

    :goto_12
    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_22

    invoke-virtual {v3, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/fiberhome/gaea/client/b/b/b;

    iget-object v0, v0, Lcom/fiberhome/gaea/client/b/b/b;->a:Ljava/lang/String;

    iget-object v4, v2, Lcom/fiberhome/gaea/client/b/b/b;->a:Ljava/lang/String;

    invoke-virtual {v0, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_23

    invoke-virtual {v3, v1, v2}, Ljava/util/ArrayList;->set(ILjava/lang/Object;)Ljava/lang/Object;

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->b()Lcom/fiberhome/gaea/client/c/b;

    move-result-object v0

    iget-object v1, v2, Lcom/fiberhome/gaea/client/b/b/b;->b:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/fiberhome/gaea/client/c/b;->a(Ljava/lang/String;)V

    :cond_22
    const/4 v0, 0x2

    if-ne p2, v0, :cond_24

    const/4 v0, 0x3

    invoke-virtual {p0, p1, v0}, Lcom/waiqin365/compons/b/b;->a(Lcom/waiqin365/base/login/c/h;I)V

    goto/16 :goto_4

    :cond_23
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_12

    :cond_24
    iget-object v0, p0, Lcom/waiqin365/compons/b/b;->d:Lcom/waiqin365/compons/view/a;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/a;->dismiss()V

    iget-object v0, p0, Lcom/waiqin365/compons/b/b;->h:Landroid/os/Handler;

    const/16 v1, 0x2710

    invoke-virtual {v0, v1}, Landroid/os/Handler;->sendEmptyMessage(I)Z
    :try_end_17
    .catch Ljava/lang/Exception; {:try_start_17 .. :try_end_17} :catch_3
    .catchall {:try_start_17 .. :try_end_17} :catchall_1

    goto/16 :goto_4

    :cond_25
    :try_start_18
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v1, "statuscode="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v6}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/d;->a(Ljava/lang/String;)V

    new-instance v0, Landroid/os/Message;

    invoke-direct {v0}, Landroid/os/Message;-><init>()V

    const/16 v1, 0x2712

    iput v1, v0, Landroid/os/Message;->what:I

    iput p2, v0, Landroid/os/Message;->arg1:I

    iput-object p1, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    iget-object v1, p0, Lcom/waiqin365/compons/b/b;->m:Landroid/os/Handler;

    invoke-virtual {v1, v0}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z
    :try_end_18
    .catch Ljava/lang/Exception; {:try_start_18 .. :try_end_18} :catch_e
    .catchall {:try_start_18 .. :try_end_18} :catchall_2

    move-object v6, v2

    move-object v7, v3

    goto/16 :goto_4

    :catch_6
    move-exception v0

    goto/16 :goto_7

    :catch_7
    move-exception v0

    goto/16 :goto_10

    :catch_8
    move-exception v0

    goto/16 :goto_11

    :catch_9
    move-exception v0

    goto/16 :goto_5

    :catch_a
    move-exception v0

    goto/16 :goto_6

    :catch_b
    move-exception v0

    goto/16 :goto_a

    :catch_c
    move-exception v1

    goto/16 :goto_c

    :catch_d
    move-exception v1

    goto/16 :goto_d

    :catchall_2
    move-exception v0

    move-object v6, v2

    move-object v7, v3

    goto/16 :goto_b

    :catchall_3
    move-exception v0

    move-object v6, v2

    move-object v7, v4

    goto/16 :goto_b

    :catchall_4
    move-exception v0

    move-object v6, v1

    move-object v7, v2

    goto/16 :goto_b

    :catch_e
    move-exception v0

    move-object v1, v2

    move-object v2, v3

    goto/16 :goto_9

    :catch_f
    move-exception v0

    move-object v1, v2

    move-object v2, v4

    goto/16 :goto_9

    :cond_26
    move-object v6, v2

    move-object v7, v3

    goto/16 :goto_2

    :cond_27
    move v0, v4

    goto/16 :goto_1
.end method

.method public a(Landroid/os/Handler;Landroid/content/Context;Lcom/waiqin365/compons/view/a;Lcom/waiqin365/base/login/c/h;ZZ)Z
    .locals 7

    const/4 v6, 0x1

    iput-object p1, p0, Lcom/waiqin365/compons/b/b;->h:Landroid/os/Handler;

    iput-object p2, p0, Lcom/waiqin365/compons/b/b;->c:Landroid/content/Context;

    iput-object p3, p0, Lcom/waiqin365/compons/b/b;->d:Lcom/waiqin365/compons/view/a;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->b()Lcom/fiberhome/gaea/client/c/b;

    move-result-object v1

    invoke-virtual {v1}, Lcom/fiberhome/gaea/client/c/b;->f()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "data/cuslogindown"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "/"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/b/b;->e:Ljava/lang/String;

    new-instance v0, Ljava/io/File;

    iget-object v1, p0, Lcom/waiqin365/compons/b/b;->e:Ljava/lang/String;

    invoke-direct {v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/io/File;->exists()Z

    move-result v1

    if-nez v1, :cond_1

    invoke-virtual {v0}, Ljava/io/File;->mkdirs()Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/compons/b/b;->d:Lcom/waiqin365/compons/view/a;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/a;->dismiss()V

    new-instance v0, Lcom/waiqin365/compons/view/c;

    iget-object v1, p0, Lcom/waiqin365/compons/b/b;->c:Landroid/content/Context;

    iget-object v2, p0, Lcom/waiqin365/compons/b/b;->c:Landroid/content/Context;

    const v3, 0x7f0806b1

    invoke-virtual {v2, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    const-string/jumbo v3, "\u5e94\u7528\u4e0b\u8f7d\u6587\u4ef6\u5939\u521b\u5efa\u5931\u8d25!"

    sget v4, Lcom/waiqin365/compons/view/c;->b:I

    new-instance v5, Lcom/waiqin365/compons/b/c;

    invoke-direct {v5, p0}, Lcom/waiqin365/compons/b/c;-><init>(Lcom/waiqin365/compons/b/b;)V

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/compons/b/b;->f:Lcom/waiqin365/compons/view/c;

    iget-object v0, p0, Lcom/waiqin365/compons/b/b;->f:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    :cond_0
    :goto_0
    return v6

    :cond_1
    if-eqz p5, :cond_3

    iget-boolean v0, p4, Lcom/waiqin365/base/login/c/h;->c:Z

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/compons/b/b;->d:Lcom/waiqin365/compons/view/a;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/a;->dismiss()V

    iget-object v0, p0, Lcom/waiqin365/compons/b/b;->c:Landroid/content/Context;

    const v1, 0x7f0806b6

    invoke-virtual {v0, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v0

    new-array v1, v6, [Ljava/lang/Object;

    const/4 v2, 0x0

    iget-object v3, p4, Lcom/waiqin365/base/login/c/h;->a:Ljava/lang/String;

    aput-object v3, v1, v2

    invoke-static {v0, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    new-instance v0, Lcom/waiqin365/compons/view/e;

    iget-object v1, p0, Lcom/waiqin365/compons/b/b;->c:Landroid/content/Context;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->b()Lcom/fiberhome/gaea/client/c/b;

    move-result-object v4

    iget-object v4, v4, Lcom/fiberhome/gaea/client/c/b;->t:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v4, "\n"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    sget v4, Lcom/waiqin365/compons/view/e;->c:I

    new-instance v5, Lcom/waiqin365/compons/b/d;

    invoke-direct {v5, p0, p6, p4}, Lcom/waiqin365/compons/b/d;-><init>(Lcom/waiqin365/compons/b/b;ZLcom/waiqin365/base/login/c/h;)V

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/e;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/f;)V

    iput-object v0, p0, Lcom/waiqin365/compons/b/b;->g:Lcom/waiqin365/compons/view/e;

    iget-object v0, p0, Lcom/waiqin365/compons/b/b;->g:Lcom/waiqin365/compons/view/e;

    const-string/jumbo v1, "#666666"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    const v2, 0x7f0c0064

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/compons/view/e;->a(II)V

    iget-object v0, p0, Lcom/waiqin365/compons/b/b;->g:Lcom/waiqin365/compons/view/e;

    const-string/jumbo v1, "#ff9008"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    const v2, 0x7f0c0066

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/compons/view/e;->a(II)V

    iget-object v0, p0, Lcom/waiqin365/compons/b/b;->g:Lcom/waiqin365/compons/view/e;

    iget-object v1, p0, Lcom/waiqin365/compons/b/b;->c:Landroid/content/Context;

    const v2, 0x7f0806b5

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/e;->c(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/compons/b/b;->g:Lcom/waiqin365/compons/view/e;

    iget-object v1, p0, Lcom/waiqin365/compons/b/b;->c:Landroid/content/Context;

    const v2, 0x7f0806b4

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/e;->d(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/compons/b/b;->g:Lcom/waiqin365/compons/view/e;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/e;->show()V

    goto/16 :goto_0

    :cond_2
    new-instance v0, Lcom/waiqin365/compons/b/f;

    invoke-direct {v0, p0, p6, p4}, Lcom/waiqin365/compons/b/f;-><init>(Lcom/waiqin365/compons/b/b;ZLcom/waiqin365/base/login/c/h;)V

    invoke-virtual {v0}, Lcom/waiqin365/compons/b/f;->start()V

    goto/16 :goto_0

    :cond_3
    if-eqz p6, :cond_0

    new-instance v0, Lcom/waiqin365/compons/b/g;

    invoke-direct {v0, p0, p4}, Lcom/waiqin365/compons/b/g;-><init>(Lcom/waiqin365/compons/b/b;Lcom/waiqin365/base/login/c/h;)V

    invoke-virtual {v0}, Lcom/waiqin365/compons/b/g;->start()V

    goto/16 :goto_0
.end method
